#ifndef FILEKEY_H
#define FILEKEY_H

#include "Define.h"

class FileKey
{
	public:
		FileKey();
		FileKey(QString fileName, QHostAddress addr, Mode mode);
		~FileKey();
		void Set(QString fileName, QHostAddress addr, Mode mode);
		void Set(FileKey &key);
		QString GetFileName() const;
		QHostAddress GetAddress() const;
		Mode GetMode() const;
		bool operator<(const FileKey &right) const;
		void operator=(const FileKey &right);

	private:
		QString _fileName;
		QHostAddress _addr;
		Mode _mode;
};


#endif // FILEKEY_H
